package com.ys.openapi.process;

/**
 * 分页查询待办列表请求
 */
public class RequestDBList {
    //?workflowName=&workflowCode=&originator=&wd=&batchOperate=false&page=0&size=20
   // workflowName=&workflowCode=&originator=&wd=&batchOperate=false&page=0&size=20
    // &unitType=&startTime=&endTime=&originatorName=&activityName=&participant=&participantName=
    // &sequenceNo=
    private String workflowName="";
    private String workflowCode="";
    private String originator="";
    private String wd="";
    private boolean batchOperate=false;
    private int page=0;
    private int size=20;
    private int limit=20;
    private String unitType="";
    private String startTime="";
    private String endTime="";
    private String originatorName="";
    private String activityName="";
    private String participant="";
    private String participantName="";
    private String sequenceNo="";

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

    public String getWorkflowName() {
        return workflowName;
    }

    public void setWorkflowName(String workflowName) {
        this.workflowName = workflowName;
    }

    public String getWorkflowCode() {
        return workflowCode;
    }

    public void setWorkflowCode(String workflowCode) {
        this.workflowCode = workflowCode;
    }

    public String getOriginator() {
        return originator;
    }

    public void setOriginator(String originator) {
        this.originator = originator;
    }

    public String getWd() {
        return wd;
    }

    public void setWd(String wd) {
        this.wd = wd;
    }

    public boolean isBatchOperate() {
        return batchOperate;
    }

    public void setBatchOperate(boolean batchOperate) {
        this.batchOperate = batchOperate;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public String getUnitType() {
        return unitType;
    }

    public void setUnitType(String unitType) {
        this.unitType = unitType;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getOriginatorName() {
        return originatorName;
    }

    public void setOriginatorName(String originatorName) {
        this.originatorName = originatorName;
    }

    public String getActivityName() {
        return activityName;
    }

    public void setActivityName(String activityName) {
        this.activityName = activityName;
    }

    public String getParticipant() {
        return participant;
    }

    public void setParticipant(String participant) {
        this.participant = participant;
    }

    public String getParticipantName() {
        return participantName;
    }

    public void setParticipantName(String participantName) {
        this.participantName = participantName;
    }

    public String getSequenceNo() {
        return sequenceNo;
    }

    public void setSequenceNo(String sequenceNo) {
        this.sequenceNo = sequenceNo;
    }

    @Override
    public String toString() {
        //workflowName=&workflowCode=&originator=&unitType=&startTime=&endTime=&originatorName=&activityName=&participant=&participantName=&sequenceNo=&wd=&batchOperate=false&page=0&size=20
       // &unitType=&startTime=&endTime=&originatorName=&activityName=&participant=&participantName=&sequenceNo=
        return "?workflowName=" + workflowName + "&workflowCode=" + workflowCode + "&originator=" + originator + "&wd=" + wd + "&batchOperate=" + batchOperate +
                "&page=" + page +
                "&size=" + size+"&unitType="+unitType+"&startTime="+startTime+"&endTime="+endTime+"&originatorName="+originatorName
                +"&activityName="+activityName+"&participant="+participant+"&participantName="+participantName+"&sequenceNo="+sequenceNo  ;
    }
}
